package com.tong.example.gateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value= "GATEWAY-SERVER")
public interface ServerHello {

    @GetMapping("hello/say")
    String say(@RequestParam("name") String name);
}
